﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Places.master" AutoEventWireup="false" CodeFile="PlaceDetails.aspx.vb" Inherits="PlaceDetails" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:DetailsView ID="DVPlaces" runat="server" Height="50px" Width="125px" 
        AutoGenerateRows="False" DataSourceID="DSPlaces">
        <Fields>
            <asp:BoundField DataField="Picture" HeaderText="Picture" 
                SortExpression="Picture" />
            <asp:BoundField DataField="Description" HeaderText="Description" 
                SortExpression="Description" />
            <asp:BoundField DataField="column1" HeaderText="column1" InsertVisible="False" 
                SortExpression="column1" />
            <asp:BoundField DataField="AlCategory" HeaderText="AlCategory" 
                SortExpression="AlCategory" />
        </Fields>
    </asp:DetailsView>
    <asp:SqlDataSource ID="DSPlaces" runat="server" 
        ConnectionString="<%$ ConnectionStrings:myFirstDatabase %>" 
        ProviderName="<%$ ConnectionStrings:myFirstDatabase.ProviderName %>" 
        SelectCommand="SELECT [Picture], [Description], [tblPlaces.ID] AS column1, [AlCategory] FROM [VAlbumPlaces] WHERE ([tblPlaces.ID] = ?)">
        <SelectParameters>
            <asp:QueryStringParameter Name="column1" QueryStringField="ID" Type="Int32" />
        </SelectParameters>
    </asp:SqlDataSource>
</asp:Content>

